package com.hzncc.flowable_diboot.config;

import com.diboot.file.service.FileStorageService;
import com.diboot.file.service.impl.LocalFileStorageServiceImpl;
import com.hzncc.flowable_diboot.service.impl.MinioFileStorageServiceImpl;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FileServiceConfig {



    @Bean
    public FileStorageService fileStorageService() {
        return new MinioFileStorageServiceImpl();
    }
}
